[INFO] cloning repository https://github.com/mattclarke/point_of_sale
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattclarke/point_of_sale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattclarke%2Fpoint_of_sale", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattclarke%2Fpoint_of_sale'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ddc0495854bb3eaa05bc94a703afc9e5f182632
[INFO] testing mattclarke/point_of_sale against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattclarke%2Fpoint_of_sale" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mattclarke/point_of_sale
[INFO] finished tweaking git repo https://github.com/mattclarke/point_of_sale
[INFO] tweaked toml for git repo https://github.com/mattclarke/point_of_sale written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mattclarke/point_of_sale on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mattclarke/point_of_sale already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29509dd9b71b085bad6485db7451630b631b7097667b84049b7b754559a7c4b5
[INFO] running `Command { std: "docker" "start" "-a" "29509dd9b71b085bad6485db7451630b631b7097667b84049b7b754559a7c4b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29509dd9b71b085bad6485db7451630b631b7097667b84049b7b754559a7c4b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29509dd9b71b085bad6485db7451630b631b7097667b84049b7b754559a7c4b5", kill_on_drop: false }`
[INFO] [stdout] 29509dd9b71b085bad6485db7451630b631b7097667b84049b7b754559a7c4b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3e0d611acea28545cd6e5e444198df1d0979258177fc523649cdeaa2e05d153
[INFO] running `Command { std: "docker" "start" "-a" "f3e0d611acea28545cd6e5e444198df1d0979258177fc523649cdeaa2e05d153", kill_on_drop: false }`
[INFO] [stderr]    Compiling point_of_sale v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, io};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `State` is never used
[INFO] [stdout]  --> src/point_of_sale.rs:3:6
[INFO] [stdout]   |
[INFO] [stdout] 3 | enum State{
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_text` is never used
[INFO] [stdout]   --> src/point_of_sale.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Display {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 11 |     pub fn get_text(&self) -> &String {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `state` is never used
[INFO] [stdout]   --> src/point_of_sale.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl PointOfSale {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn state(self) -> State {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "f3e0d611acea28545cd6e5e444198df1d0979258177fc523649cdeaa2e05d153", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3e0d611acea28545cd6e5e444198df1d0979258177fc523649cdeaa2e05d153", kill_on_drop: false }`
[INFO] [stdout] f3e0d611acea28545cd6e5e444198df1d0979258177fc523649cdeaa2e05d153
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e035cbec2b7d4be3ca33cf5ec6b2ce254bb2b285c144065bcd4c6a5a515b0cc
[INFO] running `Command { std: "docker" "start" "-a" "0e035cbec2b7d4be3ca33cf5ec6b2ce254bb2b285c144065bcd4c6a5a515b0cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling point_of_sale v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `collections::HashMap`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{collections::HashMap, io};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `point_of_sale::State`
[INFO] [stdout]    --> src/point_of_sale.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert_eq!(pos.state(), State::Idle);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         point_of_sale::State
[INFO] [stdout]     |         point_of_sale::State
[INFO] [stdout]     |
[INFO] [stdout] note: an implementation of `PartialEq` might be missing for `point_of_sale::State`
[INFO] [stdout]    --> src/point_of_sale.rs:3:1
[INFO] [stdout]     |
[INFO] [stdout]   3 | enum State{
[INFO] [stdout]     | ^^^^^^^^^^ must implement `PartialEq`
[INFO] [stdout] help: consider annotating `point_of_sale::State` with `#[derive(PartialEq)]`
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(PartialEq)]
[INFO] [stdout]   4 | enum State{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `point_of_sale::State` doesn't implement `Debug`
[INFO] [stdout]    --> src/point_of_sale.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert_eq!(pos.state(), State::Idle);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `point_of_sale::State`
[INFO] [stdout]     |
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `point_of_sale::State` or manually `impl Debug for point_of_sale::State`
[INFO] [stdout] help: consider annotating `point_of_sale::State` with `#[derive(Debug)]`
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | enum State{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `point_of_sale::State` doesn't implement `Debug`
[INFO] [stdout]    --> src/point_of_sale.rs:332:9
[INFO] [stdout]     |
[INFO] [stdout] 332 |         assert_eq!(pos.state(), State::Idle);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `point_of_sale::State`
[INFO] [stdout]     |
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `point_of_sale::State` or manually `impl Debug for point_of_sale::State`
[INFO] [stdout] help: consider annotating `point_of_sale::State` with `#[derive(Debug)]`
[INFO] [stdout]     |
[INFO] [stdout]   3 + #[derive(Debug)]
[INFO] [stdout]   4 | enum State{
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `point_of_sale` (bin "point_of_sale" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "0e035cbec2b7d4be3ca33cf5ec6b2ce254bb2b285c144065bcd4c6a5a515b0cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e035cbec2b7d4be3ca33cf5ec6b2ce254bb2b285c144065bcd4c6a5a515b0cc", kill_on_drop: false }`
[INFO] [stdout] 0e035cbec2b7d4be3ca33cf5ec6b2ce254bb2b285c144065bcd4c6a5a515b0cc
